//
//  AkuCaseManaModel.m
//  KMedicine
//
//  Created by 阿酷 on 16/7/8.
//  Copyright © 2016年 caomu. All rights reserved.
//

#import "AkuCaseManageModel.h"

@implementation AkuCaseManageModel

// 归档
- (void)encodeWithCoder:(NSCoder *)aCoder {
    
    [aCoder encodeObject:_commitTime forKey:@"commitTime"];
    [aCoder encodeObject:_commonIllness forKey:@"commonIllness"];
    [aCoder encodeObject:_basisType forKey:@"basisType"];
    [aCoder encodeObject:_describe forKey:@"describe"];
    [aCoder encodeObject:_iconImg forKey:@"iconImg"];
}


// 解档
- (instancetype)initWithCoder:(NSCoder *)aDecoder {
    
    if (self = [super init]) {
        
        self.commitTime = [aDecoder decodeObjectForKey:@"commitTime"];
        self.commonIllness = [aDecoder decodeObjectForKey:@"commonIllness"];
        self.basisType = [aDecoder decodeObjectForKey:@"basisType"];
        self.describe = [aDecoder decodeObjectForKey:@"describe"];
        self.iconImg = [aDecoder decodeObjectForKey:@"iconImg"];
        
    }
    return self;
}

@end
